/********************************************************************
	file base:	DllLoader
	file ext:	h
	author:		JiangHuai
	
	purpose:	dll loader for load dynamic library
*********************************************************************/

#ifndef DLL_LOADER
#define DLL_LOADER

#include "predefine.h"
#include <string>
#include <vector>

using namespace std;

class DllLoader
{
public:
	DllLoader();
	~DllLoader();

	int LoadLibraryC(const string& name);

protected:
	void FreeAllLibraries();
private:
	std::vector<DllInfo> DllLoaded;
};

#endif //DLL_LOADER